import { createApp, ref } from "vue";
import App from "./App.vue";
import './assets/css/global.css'


const app=createApp(App)
app.config.globalProperties.$globalSetting =ref( {
  projectPath:'',
  exportPath: '',
  iconPath: '',
  windowSize: 'medium',
  bilibiliCookie: ''

})
app.config.globalProperties.$deadSplitData =ref( {
  title: '',
  roomAddress: '',
  dtFile: '',
  currentBoss:0,
  bosses:[{
    name: '',
    preroomId: '',
    startTriggers: [],
    startRoomID: '',
    startSaveRoomId: '',
    endTrigger:'',
    endRoomID: '',
    endSaveRoomId: '',
    bgmLength:0
  }],
  
})
app.config.globalProperties.$bossData =ref([[]])
app.config.globalProperties.$autoIncreament =ref(0)
/*
{
    name: '',
    preroomId: '',
    startTriggers: [],
    startRoomID: '',
    startSaveRoomId: '',
    endTrigger:'',
    endRoomID: '',
    endSaveRoomId: '',
    bossData:[{
      beginTime: number,
      name: string,
      id:number,//自动指定
      icon:string,
      delay:number,
      elements: AttackItem[]
    }]
}
*/
app.mount("#app");
